package com.ctshk.rpc.guide.service;


import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.guide.dto.GroupDistributionListDTO;
import com.ctshk.rpc.guide.dto.GroupInfoDTO;
import com.ctshk.rpc.guide.dto.GuideCollarSchedulingDTO;
import com.ctshk.rpc.guide.req.*;

import java.util.List;

/**
 * <p>
 * 团队分配表（派团） 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-02-25
 */
public interface IGroupDistributionService {

    List<GuideCollarSchedulingDTO> getTask(GuideCollarQueryLeisureReq req);

    Result select(GuideCollarQueryLeisureReq req);

    PageResponse<GroupDistributionListDTO> list(GroupDistributionListReq req);

    Result add(GroupDistributionAddReq req, TokenUser tu);

    GroupDistributionListDTO query(GroupDistributionIdReq req);

    Result<GroupInfoDTO> queryById(Long id);

    Result update(GroupDistributionUpdateReq req, TokenUser tu);

    Result updateTime(GroupDistributionIdUpdateStatusReq req, Long userId);
}
